<?php

use yii\helpers\Html;
use yii\grid\GridView;

/* @var $this yii\web\View */
/* @var $searchModel common\models\BuyJobSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = 'Buy Jobs';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="buy-job-index">

    <?php // echo $this->render('_search', ['model' => $searchModel]); ?>

    <?php echo GridView::widget([
        'dataProvider' => $dataProvider,
        'columns' => [
            ['class' => 'yii\grid\SerialColumn'],

//            'id',
            'good_id',
            'issue',
            'user_num',
            'user_num_real',
            'buy_num',
            'buy_num_real',
            // 'is_buy_open',
            // 'is_open',
            // 'win_user',
            // 'receipt_time:datetime',
            // 'share_time_pre:datetime',
            // 'share_time:datetime',
            'create_time:datetime',

            ['class' => 'yii\grid\ActionColumn'],
        ],
    ]); ?>

</div>
